import React from 'react'
import { Route, Switch } from 'react-router'

const Amin = () => <div>amin</div>
const ZF = () => <div>ZF</div>

const Routes = () => {
	return (
		<div>
			22222
			<Switch>
				<Route path={'/routes/amin'} component={Amin}></Route>
				<Route path={'/routes/zf'} component={ZF}></Route>
			</Switch>
		</div>
	)
}

export default Routes
